package com.huawei.appmarket.service.store.awk.bean;

import androidx.annotation.Nullable;
import com.huawei.appmarket.service.interactive.bean.InteractiveRecommResponse;
import java.util.List;
import o.ebh;
import o.CollectCheck;

public class TwoLeafGrassCardBean extends BannerV9ListCardBean implements ebh {
    private static final long serialVersionUID = 8489322979282805976L;
    private InteractiveRecommResponse interactiveRecommResponse;
    private boolean isDataProcessed = false;
    private InteractiveRecommResponse preRecommResponse;

    @Nullable
    public List<BannerV9CardBean> ˊ() {
        if (!this.isDataProcessed) {
            ˎ(ʽ(super.ˊ()));
            this.isDataProcessed = true;
        }
        return super.ˊ();
    }

    public boolean ˋ(int i) {
        return CollectCheck.isEmpty(ˊ());
    }

    private List<BannerV9CardBean> ʽ(List<BannerV9CardBean> list) {
        if (list != null && list.size() >= 2) {
            list = list.subList(0, 2);
        }
        if (list != null) {
            for (BannerV9CardBean bannerV9CardBean : list) {
                bannerV9CardBean.ʼॱ(null);
                bannerV9CardBean.ˈ(null);
            }
        }
        return list;
    }

    public InteractiveRecommResponse ॱ() {
        return this.interactiveRecommResponse;
    }

    public void ˊ(InteractiveRecommResponse interactiveRecommResponse) {
        this.interactiveRecommResponse = interactiveRecommResponse;
    }

    public InteractiveRecommResponse ˎ() {
        return this.preRecommResponse;
    }

    public void ˋ(InteractiveRecommResponse interactiveRecommResponse) {
        this.preRecommResponse = interactiveRecommResponse;
    }
}
